<?php

require ('../wp-load.php');
require_once ('simple_html_dom.php');

$result = wp_remote_get ('http://lloc.de/');
if (!is_wp_error ($result)) {
    $html = str_get_html ($result['body']);
    foreach ($html->find ('a') as $a) {
        if (isset ($a->rel) && false !== strpos ('nofollow', strtolower ($a->rel))) { 
            echo $a->href . ' -> ' . $a->rel . '<br/>';
        }
    }
}